//
//  CZItem.h
//  A01-CZ彩票
//
//  Created by apple on 15-6-14.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import <Foundation/Foundation.h>
//定义block
typedef void (^CZItemOption)();


@interface CZItem : NSObject
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subTitle;

@property (nonatomic, copy) NSString *icon;

//时间
@property (nonatomic, copy) NSString *time;

//要跳转的目标控制器
@property (nonatomic,strong) Class desController;

//block 类型 （根函数长得类似） void (^)()
@property (nonatomic, copy) CZItemOption option;
+ (instancetype)itemWithTitle:(NSString *)title;
+ (instancetype)itemWithTitle:(NSString *)title icon:(NSString *)icon;
@end
